1 00:00:00,620 --> 00:00:01,260 Hello. 2 00:00:01,280 --> 00:00:09,500 In this lecture we'll be creating the variables that will hold some information about the BRICS. 3 00:00:10,960 --> 00:00:12,410 To save some time. 4 00:00:12,430 --> 00:00:20,370 I've already defined the variables from Lyme 14 to line 20. 5 00:00:20,650 --> 00:00:24,140 So let me describe the variables for you. 6 00:00:24,160 --> 00:00:27,450 One thing to bear in mind when creating variables. 7 00:00:27,500 --> 00:00:37,270 It's a good idea to try and name your variables as closely as possible to the information you're trying 8 00:00:37,270 --> 00:00:40,300 to store inside the variables. 9 00:00:40,300 --> 00:00:43,470 So I'll start with line 14 line 14. 10 00:00:43,480 --> 00:00:48,830 I've created a variable called Break roll count. 11 00:00:49,000 --> 00:00:55,660 So what that means is variable will count the number of rolls of bricks. 12 00:00:55,660 --> 00:00:57,980 So I have set it to 4. 13 00:00:58,030 --> 00:01:01,040 So this variable will create error or breaks. 14 00:01:01,040 --> 00:01:03,700 Create four rows of bricks. 15 00:01:03,790 --> 00:01:06,010 That's what this value is for. 16 00:01:06,010 --> 00:01:12,190 Next on line 15 created a variable called Break column count. 17 00:01:12,220 --> 00:01:19,690 What this will do is to create a column of 7 giving it a value of 7. 18 00:01:19,870 --> 00:01:23,740 So we've got the brick roll in a row of four breaks. 19 00:01:23,770 --> 00:01:25,930 Now we're going to create a column. 20 00:01:26,530 --> 00:01:30,690 The number of columns I've specified there is 7. 21 00:01:30,890 --> 00:01:33,910 So the rolls of the columns. 22 00:01:34,030 --> 00:01:38,230 Next we want to know how wide the brakes should be. 23 00:01:38,440 --> 00:01:47,980 So I've defined the variables chord break with and give me a value of 80 pixels square pricks to be 24 00:01:48,070 --> 00:01:53,220 80 pixels wait on line 17. 25 00:01:53,280 --> 00:01:57,380 I defined variables core break height. 26 00:01:57,460 --> 00:02:03,590 What this will do it will determine the height of the bricks or holes. 27 00:02:03,640 --> 00:02:11,230 Information about the height of the bricks have given a value of 24 pixels. 28 00:02:11,260 --> 00:02:22,450 Next on line 18 I have defined a variable called Break padding and giving it a value of 12 pixels. 29 00:02:22,510 --> 00:02:27,910 We don't want the bricks to be touchin it show that we need some space between the bricks. 30 00:02:27,970 --> 00:02:31,020 So that's what this big padding is for. 31 00:02:31,150 --> 00:02:36,200 And have given it a value of 12 Online 19. 32 00:02:36,200 --> 00:02:44,370 I have created a variable core brigg off set top giving the value of 32 pixels. 33 00:02:44,460 --> 00:02:50,670 Have also created the variable of break off set left giving it a variable. 34 00:02:50,690 --> 00:02:52,270 Off 32. 35 00:02:52,360 --> 00:02:59,950 What this means is that when the bricks are drawn I dont want the bricks to be drawn from the edge of 36 00:02:59,950 --> 00:03:00,850 the campus. 37 00:03:01,030 --> 00:03:05,870 So I wanted to start drawing the bricks from the certain point. 38 00:03:05,890 --> 00:03:13,990 So as I've defined it from the top from the top I want to start drawing the bricks at 32 pixels from 39 00:03:13,990 --> 00:03:17,610 the top 32 pixels from the left. 40 00:03:17,800 --> 00:03:20,950 So that's where the drawing of the bricks will stop. 41 00:03:21,130 --> 00:03:25,210 Because either one they hope to start at the edge of the compass. 42 00:03:25,390 --> 00:03:32,360 So these are the variables we have defined for the bricks. 43 00:03:32,360 --> 00:03:41,320 So these were all information various information about the bricks from the count from the roll from 44 00:03:41,320 --> 00:03:48,730 the number of rolls number of alarms the with of the brakes hard told the brute will be the spaces between 45 00:03:48,730 --> 00:03:55,560 the brakes where the brakes will start to draw from OB painted from the canvas. 46 00:03:55,560 --> 00:04:01,730 I have defined all those values inside this variable in the next lecture. 47 00:04:01,740 --> 00:04:06,170 I will be creating too -- mention a raise. 48 00:04:06,190 --> 00:04:13,270 There will also use to store more information about the bricks. 49 00:04:13,270 --> 00:04:15,070 Thank you so much for watching. 50 00:04:15,070 --> 00:04:16,310 Bye for now.